﻿using HC.View;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using EMRView;
using EMRView.Extensions.HCAttribute;

namespace EMRView.Extensions.Command.StandardCommand.Edit
{

    [Command(CommandType.编辑, "Subscript", "下标")]
    public class SubscriptCommand : BaseCommand
    {

        public override Icon CommandIcon
        {
            get
            {
                return Properties.HCResource.下标;
            }
        }

        public override object Execute(HCEmrView _view, bool showDefaultUI = false, params object[] para)
        {
            _view.ApplyTextStyle(HCFontStyle.tsSubscript);
            return null;
        }

        public override void InitControl(object control)
        {
        }
    }
}
